package com.bbkb.user.service;

import com.bbkb.common.page.PageResult;
import com.bbkb.user.dto.SysUserDTO;

import java.util.List;

public interface ISysUserService {

    SysUserDTO getByUserName(String userName) ;

    PageResult<SysUserDTO> querySysUserPage(SysUserDTO sysUser);

    void updateStatus(Long id, String status);

    SysUserDTO getSysUserById(Long id);

    void addSysUser(SysUserDTO sysUser);

    void updateSysUser(SysUserDTO sysUser);

    List<SysUserDTO> getSysUsersByRoleId(Long roleId);
}
